package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容标签管理对象 content_tags
 * 
 * @author whitedeer
 * @date 2024-08-15
 */
public class ContentTags extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签唯一标识符 */
    private Long tagId;

    /** 标签名称
 */
    @Excel(name = "标签名称 ")
    private String tagName;

    /** 标签创建时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标签创建时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tagCreatedAt;

    /** 标签更新时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "标签更新时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tagUpdatedAt;

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }
    public void setTagName(String tagName) 
    {
        this.tagName = tagName;
    }

    public String getTagName() 
    {
        return tagName;
    }
    public void setTagCreatedAt(Date tagCreatedAt) 
    {
        this.tagCreatedAt = tagCreatedAt;
    }

    public Date getTagCreatedAt() 
    {
        return tagCreatedAt;
    }
    public void setTagUpdatedAt(Date tagUpdatedAt) 
    {
        this.tagUpdatedAt = tagUpdatedAt;
    }

    public Date getTagUpdatedAt() 
    {
        return tagUpdatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagId", getTagId())
            .append("tagName", getTagName())
            .append("tagCreatedAt", getTagCreatedAt())
            .append("tagUpdatedAt", getTagUpdatedAt())
            .toString();
    }
}
